package com.ahtcm.tcmlearning.dao;

import com.ahtcm.tcmlearning.model.Prescription;

import java.util.List;

public interface PrescriptionMapper {
    int deleteByPrimaryKey(Integer prescriptionId);

    int insert(Prescription record);

    int insertSelective(Prescription record);

    Prescription selectByPrimaryKey(Integer prescriptionId);

    int updateByPrimaryKeySelective(Prescription record);

    int updateByPrimaryKey(Prescription record);

    /**
     * @description s搜索方剂库中所有方剂
     * @return
     */
    List<Prescription> selectAllFromPrescription();
}